<?php


namespace app\admin\controller\finance;


use app\admin\controller\Controller;
use app\common\model\divide\Store as StoreModel;
class Store extends Controller
{
    /**
     * @return string
     */
    public function index()
    {
        $model = new StoreModel();
        return $this->fetch('index', [
            // 充值记录列表
            'list' => $list = $model->getIncomeList($this->request->param()),
        ]);
    }
     //月汇总
     public function  gather(){
        $model = new StoreModel();
        return $this->fetch('income', [
            // 充值记录列表
            'list' => $list = $model->getGather($this->request->param()),
        ]);
    }
}